package edu.ptu.communityplatform.mapping;

import edu.ptu.communityplatform.domain.entity.Person;
import edu.ptu.communityplatform.domain.vos.PersonPageVo;
import edu.ptu.communityplatform.domain.vos.PersonVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @BelongsProject: communityPlatform
 * @BelongsPackage: edu.ptu.communityplatform.mapping
 * @Author: HYJ
 * @CreateTime: 2025-04-07  13:55
 * @Description: TODO
 * @Version: 1.0
 */
@Mapper
public interface PersonMapping {

    PersonMapping PERSON_MAPPING = Mappers.getMapper(PersonMapping.class);

    PersonVo personToPersonVo(Person person);

    PersonPageVo personToPersonPageVo(Person person);

}
